package com.lin.musicplayer;

import java.io.File;
import java.io.FilenameFilter;

/**
 * Created by crystal on 2016/7/5.
 */
public class MusicFilter implements FilenameFilter {
    @Override
    public boolean accept(File file, String s) {
        return (s.endsWith(".mp3"));
    }
}
